package com.gudaomai.ekproject.entity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gudaomai.ekproject.entity.BaseEntity;

/**
 * <p>
 * sysuser
 * </p>
 *
 * @author zenghualu
 * @since 2017-06-26
 */
@TableName("sysuser")
public class Sysuser extends BaseEntity<Sysuser>  {


    private static final long serialVersionUID = 1L;

    /**
     * 创建时间
     */
	private Date createTime;
    /**
     * 密码 : 密码
     */
	private String password;
    /**
     * 扩展
     */
	private String extJson;
    /**
     * 更新者
     */
	private String updateUser;
    /**
     * 邮箱
     */
	private String email;
    /**
     * 创建者
     */
	private String createUser;
    /**
     * 电话
     */
	private String telphone;
    /**
     * 逻辑删除
     */
	private String deleted;
    /**
     * 版本id
     */
	private String versionId;
    /**
     * 真实姓名
     */
	private String realName;
    /**
     * 状态
     */
	private String status;
    /**
     * 用户名
     */
	private String name;
    /**
     * 更新时间
     */
	private Date updateTime;
    /**
     * 密码掩值
     */
	private String salt;
    /**
     * 头像 : 保存大数据id(data_id)
     */
	private String icon;
    /**
     * id : 自增长id
     */
	private String id;


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getExtJson() {
		return extJson;
	}

	public void setExtJson(String extJson) {
		this.extJson = extJson;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
